<!--
  @author ligang
  @date 2021-12-17 20:40:28
-->
<!DOCTYPE html>
<html th:replace="~{work/modify/common/layout :: layout('取消', ~{::title}, ~{::content}, ~{::script})}"
      xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <title>工单管理-一键提醒</title>
</head>
<body>

<div th:fragment="content">
    <style>
    </style>
    <form class="layui-form" action="" method="post">
        <input type="text" hidden name="orderId" th:value="${orderId}">
        <input type="text" hidden name="workId" th:value="${workId}">
        <div class="layui-form-item" id="review-success">
            <label class="layui-form-label">提醒类型：</label>
            <div class="layui-input-block">
                <input type="radio" name="type" value="1" title="催单" lay-verify="required" lay-filter="type">
                <input type="radio" name="type" value="2" title="联系" lay-verify="required" lay-filter="type">
                <div>
                    <span id="explanation" class="layui-form-label" style="width: auto; color: #9F9F9F;"></span>
                </div>
            </div>
        </div>

        <div class="layui-form-item" id="remindForm" style="display: none;">
            <label class="layui-form-label">催单场景：</label>
            <div class="layui-input-block">
                <div th:each="item : ${remindScenes}">
                    <input type="radio" lay-skin="primary" name="remindSceneId"
                           th:title="${item.text}"
                           th:value="${item.value}"
                           th:checked="${item.selected}"
                           th:content="${item.ext1}">
                </div>
            </div>
        </div>

        <div class="layui-form-item" id="contactForm" style="display: none;">
            <label class="layui-form-label">联系场景：</label>
            <div class="layui-input-block">
                <div th:each="item : ${contactScenes}">
                    <input type="radio" lay-skin="primary" name="contactSceneId"
                           th:title="${item.text}"
                           th:value="${item.value}"
                           th:checked="${item.selected}"
                           th:content="${item.ext1}">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">备注：</label>
            <div class="layui-input-inline">
                    <textarea placeholder="请输入缘由" maxlength="500" id="remark" name="remark" lay-filter="remark"
                              class="layui-textarea" style="width: 500px;"></textarea>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <input type="button" class="layui-btn" lay-submit lay-filter="save" style="width: 100px"
                       value="保存"></input>
            </div>
        </div>

    </form>
</div>


<script th:inline="javascript">
    var layuiModel = {
        oms_work_modify_orderRemind: "work/modify/zmn.oms.work.modify.orderRemind"
    };
</script>
</body>
</html>